package com.samsung.booksmanagement;

import android.net.Uri;

public class Book {
	private int id;// 1
	private String name;// 2
	private String author;// 3
	private String publisher;// 4
	private String publishDate;// 5
	private String image;// 6


	public Book() {
		id = -1;
		this.name = "";
		this.author = "";
		this.publishDate = null;
		this.publisher = "";
		image = null;
	}

	public Book(String name, String author) {
		super();
		this.name = name;
		this.author = author;
		image = null;
	}

	public Book(String name, String author, String publisher, String publishDate) {
		super();
		this.name = name;
		this.author = author;
		this.publisher = publisher;
		this.publishDate = publishDate.toString();
		image = null;
	}

	public Book(int id, String name, String author, String publisher,
			String publishDate, Uri image) {
		super();
		this.id = id;
		this.name = name;
		this.author = author;
		this.publisher = publisher;
		this.publishDate = publishDate.toString();
		this.image = image.toString();
	}

	public Book(String name, String author, String publisher,
			String publishDate, Uri image) {
		super();
		this.name = name;
		this.author = author;
		this.publisher = publisher;
		this.publishDate = publishDate.toString();
		this.image = image.toString();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getPublisher() {
		return publisher;
	}

	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}

	public String getPublishDate() {
		return publishDate;
	}

	public void setPublishDate(String publishDate) {
		this.publishDate = publishDate;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}


	
	
}
